package com.stockz.equity.ui;

import java.awt.BorderLayout;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.JToolBar;
import javax.swing.JLabel;

public class MainFrame extends JFrame {
	private static final long serialVersionUID = 6762758307040008381L;
	
	private JTabbedPane tabbedPane;
	private JPanel messagePanel;
	private JLabel messageLabel;
	
	public MainFrame() {
		JPanel contentPane = new JPanel();
		getContentPane().add(contentPane, BorderLayout.CENTER);
		contentPane.setLayout(new BorderLayout(0, 0));
		
		tabbedPane = new JTabbedPane(JTabbedPane.TOP);
		contentPane.add(tabbedPane);
		
		messagePanel = new JPanel();
		contentPane.add(messagePanel, BorderLayout.NORTH);
		
		messageLabel = new JLabel();
		messagePanel.add(messageLabel);
		
		JToolBar toolBar = new JToolBar();
		getContentPane().add(toolBar, BorderLayout.NORTH);
	}

	public JTabbedPane getTabbedPane() {
		return tabbedPane;
	}

	public JLabel getMessageLabel() {
		return messageLabel;
	}
}
